<?php
/*
* Author: Nguyen Hai Nam
* Module: Admin
* Desc	: Introduce pick.vn and sidle pic
* Date	: 12/12/2011
*/
class AdminModule extends Pick_Core_Module{
	
	public $authentication = 1;
	
	function AdminModule(){
		
		parent::Pick_Core_Module();
		$this->theme = "admin";
		# Languages
		$languages = new Pick_Core_Languages();
		$objectLanguages = "";
		$objectLanguages = $languages->getObjects(1, 'status = 1', array('position'=>'ASC'), '');
		if($objectLanguages){
			$objectLanguages = $objectLanguages['data'];	
		}#endif
		$this->template->assign("objectLanguages", $objectLanguages);
        
        // Get Path for this module
        $this->template->assign('arrayParentPath', $this->getArrayParentPath());
	}
	public function getContent(){
		$act = $this->request->element('act', "list");
		$this->template->assign('act', $act);
	}
}